const KoaRouter = require('@koa/router')
const { create, getList } = require('../controller/labelControll.js')
const labelRouter = new KoaRouter({prefix:'/label'})

// 增： 新增标签
labelRouter.post('/'  , create)

// 查  标签列表
labelRouter.get("/list", getList);

module.exports = labelRouter